const isAuthorized = (req) => {
    const { username, password } = req.query
    console.log('username, password -----> ', username, password);
    // 简单检验
    if (username === 'admin' && password === 'admin123456') {
        return true
    } else {
        return false
    }
}
module.exports = isAuthorized